home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / cfspoker.zip / CFSPoker.PKG / MakeObj.CMD < prev    next >
OS/2 REXX Batch file  |  1996-05-19  |  1KB  |  29 lines

  1. /*------------------------------------------------------------------------*\
  2. |                                                                          |
  3. |    This REXX program will create the CFSPoker object on your Desktop     |
  4. |                                                                          |
  5. \*------------------------------------------------------------------------*/
  6. /*--------------------------------*\
  7. |  Be sure REXXUTIl is registered  |
  8. \*--------------------------------*/
  9. call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysloadFuncs'
  10. call SysloadFuncs
  11.  
  12. /*----------------------*\
  13. |  Build Desktop object  |
  14. \*----------------------*/
  15. location = '<WP_DESKTOP>'
  16. class    = 'WPProgram'
  17. title    = 'CFSPoker'
  18. setup    =,
  19.    'EXENAME='    || DIRECTORY() || '\CFSStart.EXE;' ||,
  20.    'ICONFILE='   || DIRECTORY() || '\CFSlogo4.ico;' ||,
  21.    'STARTUPDIR=' || DIRECTORY() || ';'              ||,
  22.    'OBJECTID=<CFSPoker>;'                           ||,
  23.    ''
  24. call SysCreateObject class, title, location, setup, 'U'
  25. if RESULT ¬= 1 then
  26.    do
  27.       say '   Unable to create object'
  28.    end
  29.